
#include <tenacitas_exception/exception.h>

using namespace tenacitas::exception;

tenacitas::exception::exception::
exception (const std::string & p_file,
          const std::string & p_function,
          uint64_t p_line,
          const std::string & p_msg ) :
    std::exception(),
    m_stream (),
    m_aux( ) {

    m_stream << "Exception '" << p_msg
             << "' at file " << p_file
             << ", function " << p_function
             << ", line " << p_line;

    m_aux = m_stream.str( );
    
}
